package com.bw.day2task.api;



import com.bw.day2task.bean.BeanPhone;
import com.bw.day2task.bean.BeanUser;
import com.bw.day2task.bean.BeanUserlog;
import com.bw.day2task.bean.BeanVideo;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.Url;

public interface Api {

    @POST
    Observable<BeanUserlog> log(@Url String url);
    @POST
    Observable<BeanUser> reg(@Url String url);
    @POST("updatePhone")
    Observable<BeanPhone> video(@Query("phone") String phone);
    @GET("findVideo")
    Observable<BeanVideo> video2();
}
